import request from '@/utils/request'

export default {

  // 条件分页查询随机诗语
  getList(current, size, data) {
    return request({
      url: `/article/award/search/${current}/${size}`,
      method: 'post',
      data
    })
  },
  // 根据ID删除
  deleteById(id) {
    return request({
      url: `/article/award/remove/${id}`,
      method: 'delete'
    })
  }
}
